package com.smart.community.parking.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smart.community.parking.entity.Vehicle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 车辆Mapper接口
 * 
 * @author Wu.Liang
 * @since 2024-12-21
 */
@Mapper
public interface VehicleMapper extends BaseMapper<Vehicle> {

    /**
     * 根据车牌号查询车辆
     * 
     * @param licensePlate 车牌号
     * @return 车辆信息
     */
    Vehicle selectByLicensePlate(@Param("licensePlate") String licensePlate);
} 